#ifndef PRODUCT_CONFIG_H
#define PRODUCT_CONFIG_H

#include "freertos/FreeRTOS.h"
#include "freertos/task.h"

    #define ARCH_OS_NATIVE_PRIORITY_DEFAULT (configMAX_PRIORITIES -1)

	//用户处理时候的OTA任务,优先级最高
	#define TASK_PROP_OTA  	  (ARCH_OS_NATIVE_PRIORITY_DEFAULT)
	
    //UI显示任务优先级最高
    #define TASK_PROP_DISPLAY (ARCH_OS_NATIVE_PRIORITY_DEFAULT-1)

    //网络相关任务优先级最高
    #define TASK_PROP_NET (ARCH_OS_NATIVE_PRIORITY_DEFAULT-1)

    //故障处理任务优先级第二高
    #define TASK_PROP_ERRHAND (ARCH_OS_NATIVE_PRIORITY_DEFAULT-1)

    //底层驱动及信号检测的优先级第三高
    #define TASK_PROP_DRIVER (ARCH_OS_NATIVE_PRIORITY_DEFAULT-2)

    //app逻辑处理任务的优先级排第4
    #define TASK_PROP_APP (ARCH_OS_NATIVE_PRIORITY_DEFAULT-3)

	//同IOT平台的交互,任务优先级排第5
    #define TASK_PROP_IOTTALK (ARCH_OS_NATIVE_PRIORITY_DEFAULT-4)

#endif